package com.example.demo.infra.mapper;


import com.example.demo.domain.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    Teacher selectTeacherById(Integer id);

    List<Teacher> selectTeacherList();

    Integer insertTeacher(Teacher teacher);

    Integer updateTeacher(Teacher teacher);

    Integer deleteTeacherById(Integer id);
}
